package com.example.administrator.ygddriver.into.login.driverjoin;

import java.util.List;

public class DriverJoinRequestBean {


    /**
     * success : true
     * errorCode :
     * localizedMessage : 司机类型查询成功
     * result : {"driverTypes":[{"c_drivertype":"1","c_url":"图片地址"},{"c_drivertype":"2","c_url":"图片地址"},{"c_drivertype":"3","c_url":"图片地址"},{"c_drivertype":"4","c_url":"图片地址"}]}
     */

    private boolean success;
    private String errorCode;
    private String localizedMessage;
    private ResultBean result;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getLocalizedMessage() {
        return localizedMessage;
    }

    public void setLocalizedMessage(String localizedMessage) {
        this.localizedMessage = localizedMessage;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        private List<DriverTypesBean> driverTypes;

        public List<DriverTypesBean> getDriverTypes() {
            return driverTypes;
        }

        public void setDriverTypes(List<DriverTypesBean> driverTypes) {
            this.driverTypes = driverTypes;
        }

        public static class DriverTypesBean {
            /**
             * c_drivertype : 1
             * c_url : 图片地址
             */

            private String c_drivertype;
            private String c_url;

            public String getC_drivertype() {
                return c_drivertype;
            }

            public void setC_drivertype(String c_drivertype) {
                this.c_drivertype = c_drivertype;
            }

            public String getC_url() {
                return c_url;
            }

            public void setC_url(String c_url) {
                this.c_url = c_url;
            }
        }
    }
}
